import request from '@/utils/request'

export function addTask(data, teachplanId) {
  return request({
    url: '/task/add',
    method: 'post',
    data,
    params: { teachplanId }
  })
}
